﻿using System.Web.UI;
using Thuoc24h.Data;

namespace Thuoc24h.BasePage
{
    public abstract class BaseMasterPages : MasterPage
    {
        protected BaseMasterPages()
        {
            this.context = new MedLifeDataContext();
        }

        public MedLifeDataContext context { get; protected set; }

        public override void Dispose()
        {
            this.context.Dispose();
            base.Dispose();
        }
    }
}